/**
 * 基本信息标签页相关代码
 */
var xfls = (function() {

	var customerId = qmsk.getQueryValue("customerId");

	function loadInit() {

		//"createFileTime","repairType","license","repairNo","mileage","materialCost","workCost","cost","memo"

		_pagination = new Pagination({
			url : '../repair/find/list/' + customerId,
			success : function(rst) {
				var response = new qmsk.Response(rst);
				qmsk.dataTable({
					tbodyId : 'xfls_list',
					heads : ["createFileTime","repairType","license","repairNo","mileage","materialCost","workCost","cost","memo"],
					response : response,
					sup : ['xfls_list_sup', '共 [index] 条']
				});
			},
			pagerHandler : 'xfls_list_pager'
		});
	}

	return {
		init : function() {
			loadInit();
		}
	};

})();
